<template>
  <div class="k-search-actions">
    <el-button @click="onClickReset">重置</el-button>
    <el-button type="primary" @click="onClickSearch">查询</el-button>
  </div>
</template>

<script setup lang="ts">

defineOptions({
  name: 'KSearchActions'
});
const emits = defineEmits(['search', 'reset']);
const onClickSearch = () => {
  emits('search');
};
const onClickReset = () => {
  emits('reset');
};
</script>

<style lang="scss" scoped>
:deep(.el-form--inline) {
  .el-form-item {
    align-items: center;
    min-height: 32px;
    margin-bottom: 0;
  }
}
</style>
